Annotate gdk_x11_display_get_screen()
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 21 Dec 2017 18:49:25 +0000 (18:49 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 21 Dec 2017 18:49:25 +0000 (18:49 +0000)
We're missing the gtk-doc stanza, as well as the transfer annotation for
the returned pointer.

gdk/x11/gdkdisplay-x11.c

index 5b1b8848807bf3744711b816d98c8e091ae354d2..762de7f96d696d1e544803d18486295f28e6b5b7 100644 (file)
@@ -2906,6 +2906,14 @@ gdk_x11_display_get_max_request_size (GdkDisplay *display)
   return size;
 }
 
+/**
+ * gdk_x11_display_get_screen:
+ * @display: a #GdkX11Display
+ *
+ * Retrieves the #GdkX11Screen of the @display.
+ *
+ * Returns: (transfer none): the #GdkX11Screen
+ */
 GdkX11Screen *
 gdk_x11_display_get_screen (GdkDisplay *display)
 {